package com.itheima.test;

public class Sample {


    public static void main(String[] args_) throws Exception {


 /*       String accessKeyId = "LTAI5tRTEmhNPwb2ZDF9dd3p";
        String accessKeySecret= "sK0K940zLgVH7sUIav8Lzd261euaMT";

        //配置阿里云
        Config config = new Config()
                // 您的AccessKey ID
                .setAccessKeyId(accessKeyId)
                // 您的AccessKey Secret
                .setAccessKeySecret(accessKeySecret);
        // 访问的域名
        config.endpoint = "dysmsapi.aliyuncs.com";

        com.aliyun.dysmsapi20170525.Client client =  new com.aliyun.dysmsapi20170525.Client(config);

        SendSmsRequest sendSmsRequest = new SendSmsRequest()
                .setPhoneNumbers("13637478923")
                .setSignName("青橙")
                .setTemplateCode("SMS_205136201")
                .setTemplateParam("{\"code\":\"1234\"}");
        // 复制代码运行请自行打印 API 的返回值
        SendSmsResponse response = client.sendSms(sendSmsRequest);

        SendSmsResponseBody body = response.getBody();
*/
    }
}